package world.xuewei.model.entity;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@JsonIgnoreProperties({"handler", "hibernateLazyInitializer", "fieldHandler"})
/**
 * 角色表(Role)实体类
 *
 * @author makejava
 * @since 2024-11-15 19:27:51
 */
public class Role implements Serializable {
    private static final long serialVersionUID = -52495683377881788L;

    private Long id;
    /**
     * 角色名称
     */
    private String roleName;
    /**
     * 角色编码
     */
    private String roleCode;
    /**
     * 角色描述
     */
    private String description;
    /**
     * 状态：0-禁用 1-启用
     */
    private Integer status;

    private Date createTime;

    private Date updateTime;

    //private Permission Permission;
}

